package com.songcan.model.oauth;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("sys_organization")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysOrganizational {

    @TableId(value = "organizational_id",type = IdType.ID_WORKER)
    private Long organizationalId;

    private String name;

    private String levelCode;

    private Long  parentId;

    private String remark;

    private Integer  delFlag;

    private Date  createTime;
}
